package org.dromara.system.domain.bo;

import org.dromara.system.domain.WbCandidateList;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.math.BigDecimal;

/**
 * 中标候选人详情业务对象 wb_candidate_list
 *
 * @author Lion Li
 * @date 2024-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WbCandidateList.class, reverseConvertGenerate = false)
public class WbCandidateListBo extends BaseEntity {

    private String type;

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 候选人公示id
     */
    @NotNull(message = "候选人公示id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long candidateId;

    private String candidateCode;
    private String candidateName;
    private String candidateNo;

    /**
     * 分标编号
     */
//    @NotBlank(message = "分标编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String subStandardId;

    /**
     * 分标名称
     */
//    @NotBlank(message = "分标名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String subStandardName;

    /**
     * 包号
     */
//    @NotBlank(message = "包号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bagNo;

    /**
     * 包名称
     */
    private String bagName;

    /**
     * 轮次
     */
    private String round;

    /**
     * 推荐的中标候选人
     */
//    @NotBlank(message = "推荐的中标候选人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String candidate;

    /**
     * 折扣率
     */
    private String bagDiscount;

    /**
     * 价格/折扣率
     */
//    @NotBlank(message = "价格/折扣率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String priceOrDiscount;

    /**
     * 质量(售后服务承诺)
     */
//    @NotBlank(message = "质量(售后服务承诺)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String quality;

    /**
     * 交货期
     */
//    @NotBlank(message = "交货期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String delivery;

    /**
     * 排序
     */
//    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sort;

    /**
     * 资格能力
     */
//    @NotBlank(message = "资格能力不能为空", groups = { AddGroup.class, EditGroup.class })
    private String qualified;

    /**
     * 评标情况
     */
//    @NotBlank(message = "评标情况不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bidCase;

    /**
     * 项目单位
     */
//    @NotBlank(message = "项目单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String itemUnit;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 价格说明
     */
    private String priceDescription;


}
